package com.punai.externalccb.bo;

import com.punai.externalccb.domain.EcoCbsummaryzylrl;

import java.math.BigDecimal;

public class CbSummaryZylrlBo {

  private Integer ID;
  private Integer PID;
  private String XH;
  private Integer BidNodeId;
  private Integer NodeType;
  private String Name;
  private BigDecimal ProjectCost;
  private BigDecimal TargetCost;
  private BigDecimal ManageRate;
  private BigDecimal DeclaredProfitRate;
  private String ApprovalStatus;
  private Integer IsAddManually;
  private String Remark;



    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public Integer getPID() {
        return PID;
    }

    public void setPID(Integer PID) {
        this.PID = PID;
    }

    public String getXH() {
        return XH;
    }

    public void setXH(String XH) {
        this.XH = XH;
    }

    public Integer getBidNodeId() {
        return BidNodeId;
    }

    public void setBidNodeId(Integer bidNodeId) {
        BidNodeId = bidNodeId;
    }

    public Integer getNodeType() {
        return NodeType;
    }

    public void setNodeType(Integer nodeType) {
        NodeType = nodeType;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public BigDecimal getProjectCost() {
        return ProjectCost;
    }

    public void setProjectCost(BigDecimal projectCost) {
        ProjectCost = projectCost;
    }

    public BigDecimal getTargetCost() {
        return TargetCost;
    }

    public void setTargetCost(BigDecimal targetCost) {
        TargetCost = targetCost;
    }

    public BigDecimal getManageRate() {
        return ManageRate;
    }

    public void setManageRate(BigDecimal manageRate) {
        ManageRate = manageRate;
    }

    public BigDecimal getDeclaredProfitRate() {
        return DeclaredProfitRate;
    }

    public void setDeclaredProfitRate(BigDecimal declaredProfitRate) {
        DeclaredProfitRate = declaredProfitRate;
    }

    public String getApprovalStatus() {
        return ApprovalStatus;
    }

    public void setApprovalStatus(String approvalStatus) {
        ApprovalStatus = approvalStatus;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    public Integer getIsAddManually() {
        return IsAddManually;
    }

    public void setIsAddManually(Integer isAddManually) {
        IsAddManually = isAddManually;
    }


    public static EcoCbsummaryzylrl convert(CbSummaryZylrlBo in) {
        EcoCbsummaryzylrl out = new EcoCbsummaryzylrl();
        out.setOid(in.getID());
        out.setPid(in.getPID());
        out.setXh(in.getXH());
        out.setBidnodeid(in.getBidNodeId());
        out.setNodetype(in.getNodeType());
        out.setName(in.getName());
        out.setProjectcost(in.getProjectCost());
        out.setTargetcost(in.getTargetCost());
        out.setManagerate(in.getManageRate());
        out.setDeclaredprofitrate(in.getDeclaredProfitRate());
        out.setApprovalstatus(in.getApprovalStatus());
        out.setRemark(in.getRemark());
        out.setAddmanually(in.getIsAddManually());
        return out;
    }

}
